/*
 * author      : 吴中勤 
 * date        : 2018/8/18
 * description : TODO
 */

package com.deepexi.adapter.common.exception;

public class BaseAdapterException extends Exception {
    public final String code;
    public final String msg;

    public BaseAdapterException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "AdapterException{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }
}
